package controllers

import (
	"offline-analysis/esc"

	"gitee.com/konyshe/gogo"
)

// Index 首页
func Index(ctx *gogo.HTTPContext) {
	if tmplContent1, err := esc.FSString(true, "/views/index.html"); err == nil {
		ctx.WriteString(tmplContent1)
	} else {
		ctx.WriteString(err.Error())
	}
}
